/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Sylvain Sicard - initial API and implementation
 ******************************************************************************/
package fr.jade.fraclite.orb.io.messages;

import java.io.Serializable;

public class MethodReply implements Serializable{

  private static final long serialVersionUID = 1L;
  protected String methodCallId;
  protected byte[] methodResult;
  
  
  
  public MethodReply(String methodCallId, byte[] methodResult){
    this.methodCallId = methodCallId;
    this.methodResult = methodResult;
  }

  public String getMethodCallId() {
    return methodCallId;
  }

  public byte[] getMethodResult() {
    return methodResult;
  }
  
  public String toString(){
    return methodCallId ;//+ "[" + methodResult + "]";
  }
}
